import request from '@/utils/request'

// 获取所有的订单
export function getAll(params) {
	return request({
		url: '/orders/',
		method: 'get',
		params
	})
}

export function get(params) {
	return request({
		url: '/orders/' + params,
		method: 'get',
	})
}


export function delivery(params) {
	return request({
		url: '/orders/delivery/',
		method: 'post',
		params
	})
}